Total Complexity | 22 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 156 |
Lines of code | 83 |
Logical lines of code | 52 |
Comment lines | 46 |
Methods | 7 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save() | 54 | 6 | 20 | |
__construct() | 56 | 5 | 19 | |
getImageFromUrl() | 58 | 4 | 15 | |
validateUrl() | 72 | 2 | 6 | |
getResponse() | 70 | 2 | 6 | |
checkFileExtensions() | 66 | 2 | 8 | |
getFileInfo() | 65 | 1 | 9 |